import { GET, POST } from '@/utils'

enum API {
    GET_VERSION_API = '/selectVersion',
    ADD_VERSION_API = '/addVersion',
    DELETE_VERSION_API = '/deleteVersion'
}

export const getVersionApi = (data: any) => POST(API.GET_VERSION_API, data, false)
export const addVersionApi = (data: any, Config: Object) => POST(API.ADD_VERSION_API, data, false, Config)
export const delVersionApi = (data: any) => POST(API.DELETE_VERSION_API, data, true)